Searched hist:dba4a9256bb4d78ef89aaad5f49787aa27fcd5b4 (Results 1 – 6 of 6) sorted by relevance
/linux/net/core/ |
H A D | netclassid_cgroup.c | diff dba4a9256bb4d78ef89aaad5f49787aa27fcd5b4 Fri Dec 04 12:36:04 CET 2020 Florent Revest <revest@chromium.org> net: Remove the err argument from sock_from_file
Currently, the sock_from_file prototype takes an "err" pointer that is either not set or set to -ENOTSOCK IFF the returned socket is NULL. This makes the error redundant and it is ignored by a few callers.
This patch simplifies the API by letting callers deduce the error based on whether the returned socket is NULL or not.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Florent Revest <revest@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: KP Singh <kpsingh@google.com> Link: https://lore.kernel.org/bpf/20201204113609.1850150-1-revest@google.com
|
H A D | netprio_cgroup.c | diff dba4a9256bb4d78ef89aaad5f49787aa27fcd5b4 Fri Dec 04 12:36:04 CET 2020 Florent Revest <revest@chromium.org> net: Remove the err argument from sock_from_file
Currently, the sock_from_file prototype takes an "err" pointer that is either not set or set to -ENOTSOCK IFF the returned socket is NULL. This makes the error redundant and it is ignored by a few callers.
This patch simplifies the API by letting callers deduce the error based on whether the returned socket is NULL or not.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Florent Revest <revest@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: KP Singh <kpsingh@google.com> Link: https://lore.kernel.org/bpf/20201204113609.1850150-1-revest@google.com
|
H A D | sock.c | diff dba4a9256bb4d78ef89aaad5f49787aa27fcd5b4 Fri Dec 04 12:36:04 CET 2020 Florent Revest <revest@chromium.org> net: Remove the err argument from sock_from_file
Currently, the sock_from_file prototype takes an "err" pointer that is either not set or set to -ENOTSOCK IFF the returned socket is NULL. This makes the error redundant and it is ignored by a few callers.
This patch simplifies the API by letting callers deduce the error based on whether the returned socket is NULL or not.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Florent Revest <revest@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: KP Singh <kpsingh@google.com> Link: https://lore.kernel.org/bpf/20201204113609.1850150-1-revest@google.com
|
/linux/include/linux/ |
H A D | net.h | diff dba4a9256bb4d78ef89aaad5f49787aa27fcd5b4 Fri Dec 04 12:36:04 CET 2020 Florent Revest <revest@chromium.org> net: Remove the err argument from sock_from_file
Currently, the sock_from_file prototype takes an "err" pointer that is either not set or set to -ENOTSOCK IFF the returned socket is NULL. This makes the error redundant and it is ignored by a few callers.
This patch simplifies the API by letting callers deduce the error based on whether the returned socket is NULL or not.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Florent Revest <revest@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: KP Singh <kpsingh@google.com> Link: https://lore.kernel.org/bpf/20201204113609.1850150-1-revest@google.com
|
/linux/fs/ |
H A D | eventpoll.c | diff dba4a9256bb4d78ef89aaad5f49787aa27fcd5b4 Fri Dec 04 12:36:04 CET 2020 Florent Revest <revest@chromium.org> net: Remove the err argument from sock_from_file
Currently, the sock_from_file prototype takes an "err" pointer that is either not set or set to -ENOTSOCK IFF the returned socket is NULL. This makes the error redundant and it is ignored by a few callers.
This patch simplifies the API by letting callers deduce the error based on whether the returned socket is NULL or not.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Florent Revest <revest@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: KP Singh <kpsingh@google.com> Link: https://lore.kernel.org/bpf/20201204113609.1850150-1-revest@google.com
|
/linux/net/ |
H A D | socket.c | diff dba4a9256bb4d78ef89aaad5f49787aa27fcd5b4 Fri Dec 04 12:36:04 CET 2020 Florent Revest <revest@chromium.org> net: Remove the err argument from sock_from_file
Currently, the sock_from_file prototype takes an "err" pointer that is either not set or set to -ENOTSOCK IFF the returned socket is NULL. This makes the error redundant and it is ignored by a few callers.
This patch simplifies the API by letting callers deduce the error based on whether the returned socket is NULL or not.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Florent Revest <revest@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: KP Singh <kpsingh@google.com> Link: https://lore.kernel.org/bpf/20201204113609.1850150-1-revest@google.com
|